ELG 7187C --- Winter 2012 --- Assignment 2 --- Reachability Analysis

(February 1, 2012, due date February 15)

behaviors

  1. The figure above shows the behavior of three LTSs A, B and C that communicate with one another by rendezvous for the interactions a, b, e and f, while x and y are independent, as indicated in the architecture diagram (d) below: Please consider the composition of these three machines and indicate its behavior (in the form of a single LTS), that means, do a reachability analysis (do you detect any design error ? ). If you find a problem with the design, please suggest a modification of the defined behavior for the machines in order to resolve the identified problem. Please explain !
  2. architectures

  3. Now we assume that the transition diagrams shown above define the behavior of three IOAs A, B and C where the interactions now are inputs or outputs as indicated in the architecture diagram (e). Please consider the composition of these three machines and indicate their joint behavior (in the form of a single state machine), that means, do a reachability analysis (do you detect any design error ? ). If you find a problem with the design, please suggest a modification of the defined behavior for the machines in order to resolve the identified problem. Please explain !
  4. Now consider only the machines A, and B with inputs and outputs (as under point (2)), but assume that they communicate asynchronously, that is an output is first put into a queue before it is received by the other side (that is, assume that we have communicating finite state machines). Please consider the composition of these two machines and indicate their behavior (in the form of a single transition diagram), that means, do a reachability analysis (do you detect any design error ? ) . If you find a problem with the design, please suggest a modification of the defined behavior for the machines in order to resolve the identified problem. If the reachable queue length is not bounded you may not be able to perform a complete reachability analysis.  Please explain !